alternative of `die()` in php

Posted by Prasoon Saurav on Stack Overflow See other posts from Stack Overflow or by Prasoon Saurav
Published on 2010-05-24T13:03:43Z Indexed on 2010/05/24 13:11 UTC
Read the original article Hit count: 203

Filed under:
|

I have the following script

<?php
      echo "I am alive<br>";
      die("I am dying<br>");
      echo ("Dead");

?>

The output that I get is

I am alive
I am dying

Is there any way (alternative/substitute of die()) using which the execution of the remaining script be continued?

© Stack Overflow or respective owner

Related posts about php

Related posts about die